-- GENERATED SPELL FOR [Private Rocknot] --


function spell0_9503(pUnit, Event) --@Nagmara\'s Vanish,Self--
pUnit:FullCastSpellOnTarget(15341,pUnit)
pUnit:RegisterEvent('Sorts_9503', 568, 1)
end

function Sorts_9503(pUnit, Event)
local choix_sorts_9503 = math.random(0, 0)
if choix_sorts_9503 == 0 then
pUnit:RegisterEvent('spell0_9503', 1, 1)
end
end

function mob9503_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9503', math.random(1500, 3000), 1)
end

function mob9503_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9503_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9503_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9503, 1, 'mob9503_Action')
RegisterUnitEvent(9503, 2, 'mob9503_Leave')
RegisterUnitEvent(9503, 3, 'mob9503_Kill')
RegisterUnitEvent(9503, 4, 'mob9503_Die')
